package com.snail.response;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author Monica
 * @description
 * @date 2025/7/17 16:19
 */
@Data
public class PageResponse<T> implements Serializable {

    private Integer code;

    private Data<T> data;

    private String msg;


    @lombok.Data
    public static class Data<T> {

        private List<T> list;

        private long total;

    }

}
